<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>借阅查询结果</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>

	<body bgcolor="#cbeeeb">
	<%@include file="header.jsp"%>
		<hr>
		欢迎您${sno }
		<table >
			<tr>
				<td>
					ISBN
				</td>
				<td>
					书名
				</td>
				<td>
					作者
				</td>
				<td>
					库存数量
				</td>
				<td>
					出版社
				</td>
				<td>
					价格
				</td>
				<td>
					入库时间
				</td>
				<td>
					操作
				</td>
			</tr>
			
			<s:iterator var="list" value="list">
				<tr>
					<td>
						<s:property value="#list.isbn"></s:property>
					</td>
					<td>
						<s:property value="#list.bname"></s:property>
					</td>
					<td>
						<s:property value="#list.compile"></s:property>
					</td>
					<td>
						<s:property value="#list.count"></s:property>
					</td>
					<td>
						<s:property value="#list.press"></s:property>
					</td>
					<td>
						<s:property value="#list.price"></s:property>
					</td>
					<td>
						<s:property value="#list.time"></s:property>
					</td>
					<td>
						<a href="borrow!delete?book.isbn=${list.isbn }"> 删除</a>
					</td>
				</tr>
				<span style="color:red">${msg}</span>
			</s:iterator>
		</table>
	</body>
</html>
